package com.sgb.link.api;


import com.swgk.core.base.model.entity.BaseEntity;

/**
 * @author: 杨畔
 * @date: 2021/5/14 12:12
 * @Description: 公用错误类
 */
public class CommonThrowable extends Throwable{
    private BaseEntity entity;

    public CommonThrowable(BaseEntity entity) {
        this.entity = entity;
    }

    public BaseEntity getEntity() {
        return entity;
    }

    public void setEntity(BaseEntity entity) {
        this.entity = entity;
    }
}
